home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 14439 / 14439.xpi / chrome / tabber.jar / content / tabber.xul < prev    next >
Extensible Markup Language  |  2009-10-23  |  4KB  |  104 lines

  1. <?xml version="1.0"?>
  2.  
  3. <?xml-stylesheet href="chrome://tabber/content/tabber.css" type="text/css"?>
  4.  
  5. <!DOCTYPE overlay SYSTEM "chrome://tabber/locale/tabber.dtd">
  6.  
  7. <overlay id="tabberwocky-overlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  8.  
  9. <!--
  10. <license>
  11.  
  12. Tabberwocky - https://addons.mozilla.org/addon/14439/
  13. Copyright (c) 2009 Frank Yan
  14.  
  15. This file is part of Tabberwocky.
  16.  
  17. Tabberwocky is free software: you can redistribute it and/or modify
  18. it under the terms of the GNU General Public License as published by
  19. the Free Software Foundation, either version 3 of the License, or
  20. (at your option) any later version.
  21.  
  22. Tabberwocky is distributed in the hope that it will be useful,
  23. but WITHOUT ANY WARRANTY; without even the implied warranty of
  24. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  25. GNU General Public License for more details.
  26.  
  27. You should have received a copy of the GNU General Public License
  28. along with Tabberwocky. If not, see <http://www.gnu.org/licenses/>.
  29.  
  30. </license>
  31. -->
  32.  
  33.     <script type="application/javascript;version=1.8" src="chrome://tabber/content/tklib.js"/>
  34.     <script type="application/javascript;version=1.8" src="chrome://tabber/content/opentabsrelative.js"/>
  35.     <script type="application/javascript;version=1.8" src="chrome://tabber/content/tabprogressbar.js"/>
  36.     <script type="application/javascript;version=1.8" src="chrome://tabber/content/multirow.js"/>
  37.     <script type="application/javascript;version=1.8" src="chrome://tabber/content/tabber.js"/>
  38.  
  39.     <stringbundleset id="stringbundleset">
  40.         <stringbundle id="bundle_tabber" src="chrome://tabber/locale/tabber.properties"/>
  41.     </stringbundleset>
  42.  
  43.     <keyset id="mainKeyset">
  44.         <key id="key_tabberwocky-duplicatetab" modifiers="accel,shift" key="U" command="TabberwockyDuplicateTab"/>
  45.         <key id="key_tabberwocky-toggleprotected" modifiers="accel,shift" key="C" command="TabberwockyToggleProtected"/>
  46.         <key id="key_tabberwocky-togglelocked" modifiers="accel,shift" key="L" command="TabberwockyToggleLocked"/>
  47.     </keyset>
  48.  
  49.     <commandset id="mainCommandSet">
  50.         <command id="TabberwockyDuplicateTab" oncommand="tabberwocky.duplicateTab(gBrowser.selectedTab);"/>
  51.         <command id="TabberwockyToggleProtected" oncommand="tabberwocky.toggleProtected(gBrowser.selectedTab);"/>
  52.         <command id="TabberwockyToggleLocked" oncommand="tabberwocky.toggleLocked(gBrowser.selectedTab);"/>
  53.     </commandset>
  54.  
  55.     <popupset id="mainPopupSet">
  56.         <tooltip id="tabberwocky-selectedlinks">
  57.             <vbox id="tabberwocky-selectedlinks-box"/>
  58.         </tooltip>
  59.     </popupset>
  60.  
  61.     <popup id="contentAreaContextMenu">
  62.         <menuitem id="tabberwocky-openlinkininvertedtab"
  63.             label=""
  64.             oncommand="tabberwocky.openLinkInInvertedTab();"
  65.             insertafter="context-openlinkintab"
  66.             hidden="true"/>
  67.         <menuseparator id="tabberwocky-openselectedlinks-separator"
  68.             insertafter="context-sep-open"
  69.             hidden="true"/>
  70.         <menuitem id="tabberwocky-openselectedlinks"
  71.             label="&openSelectedLinks;"
  72.             accesskey="&openSelectedLinks.accesskey;"
  73.             oncommand="tabberwocky.openSelectedLinks();"
  74.             insertafter="context-sep-open"
  75.             tooltip="tabberwocky-selectedlinks"
  76.             hidden="true"/>
  77.         <menuitem id="tabberwocky-duplicatetab"
  78.             label="&duplicateTab;"
  79.             accesskey="&duplicateTab.accesskey;"
  80.             oncommand="tabberwocky.duplicateTab(gBrowser.mContextTab);"
  81.             insertbefore="context_reloadTab"
  82.             hidden="true"/>
  83.         <menuitem id="tabberwocky-toggleprotected"
  84.             label="&protectTab;"
  85.             accesskey="&protectTab.accesskey;"
  86.             type="checkbox"
  87.             oncommand="tabberwocky.toggleProtected(gBrowser.mContextTab);"
  88.             insertbefore="context_reloadTab"
  89.             hidden="true"/>
  90.         <menuitem id="tabberwocky-togglelocked"
  91.             label="&lockTab;"
  92.             accesskey="&lockTab.accesskey;"
  93.             type="checkbox"
  94.             oncommand="tabberwocky.toggleLocked(gBrowser.mContextTab);"
  95.             insertbefore="context_reloadTab"
  96.             hidden="true"/>
  97.         <menuitem id="tabberwocky-copytabtitle"
  98.             label="©TabTitle;"
  99.             oncommand="tabberwocky.copyTabTitle();"
  100.             insertafter="context_bookmarkAllTabs"
  101.             hidden="true"/>
  102.     </popup>
  103.  
  104. </overlay>